package command;

/**
 * A class representing composed commands.
 * 	A composed command involves series of commands or conditions and an operator.
 * 
 * @version	3.0
 * @author 	Lies Tambeur 	r0264469	2Bcwsbbh
 * @author	Eline Vanrykel	r0264543	2Bcwselt
 *
 */
public abstract class ComposedCommand extends Command {
	/**
	 * Return if the given ComposedCommand can have the given command as command.
	 * @param 	command
	 * 			The command to be checked.
	 * @return	True if the command isn't null, false otherwise.
	 */
	protected boolean canHaveAsCommand(Command command){
		return (command!=null);
	}
}
